<template>
  <div>
    <h2>我是父组件</h2>
    <hr>
    <CommonChild a="这是静态值"  :msg="msg"/>
  </div>
</template>

<script>
  import CommonChild from './CommonChild.vue';
  export default {
    data() {
      return {
        msg: '这是父组件中的动态数据'
      }
    },
    components: {
      CommonChild
    }
  }
</script>

<style lang="scss" scoped>

</style>